/*
class Animal{
    public void bark(){
        System.out.println("喊叫....");
    }
}
class Dog extends Animal{
    @Override
    public void bark(){
        System.out.println("正在旺旺叫.....");
    }
}

class Cat extends Animal{
    @Override
    public void bark(){
        System.out.println("正在喵喵叫.....");
    }
}
public class test1 {
    public static void main(String[] args) {
        Animal animal1 = new Dog();
        Animal animal2 = new Cat();
        animal1.bark();
        animal2.bark();
    }
}
*/
